#ifndef FICHIERDIAL_H
#define FICHIERDIAL_H


#include <iostream>
#include <fstream>
#include <string>
#include <SFML/Graphics.hpp>
#include "Fighter.h"
#include "Pnj.h"

using namespace std;
using namespace sf;

class FichierDial
{
    private:
        fstream fichier;
        string text;
        Image imgScreenDial;
        Sprite screenDial;

    public:
        FichierDial();
        ~FichierDial();
        int searchDial(string n, string s);
        bool isEnd();
        string readWord();
        void draw(RenderWindow& f, Pnj pnj, Fighter perso);
        String readLine();
        bool endRead();
};

#endif
